[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NOT(IEXP) (INTEGER)

 Function
  Calculate the bitwise NOT of an integer argument.

 Syntax
  NOT(iexp)

   iexp = Any integer expression.

 Return Type & Value
  INTEGER
  Returns the bitwise complement (all bits inverted or NOT) of an integer
  expression.

 Remarks
  This function may be used to toggle all bits in an integer expression.
  Wherever a bit had been set it will be clear after this function call,
  and vice versa.

 Examples
  ' Toggle the bits
  PRINTLN NOT(1248h)
  ' Toggle all flag
  INTEGER flag
  LET flag = NOT(flag)

See Also: AND() OR() XOR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson